﻿using Bricks.Component.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Bricks.Business.Models.BidManagement
{
    /// <summary>
    /// 标段（每个招标下可能有多个标段，此处通过招标ID进行关联）
    /// </summary>
    [Description("标段")]
    public partial class SectionInfo : EntityBase<Guid>
    {
        public SectionInfo()
        {
            ID = GuidHelper.NewGuid();
        }

        [Display(Name = "招标ID")]
        public Guid BidID { get; set; }

        [StringLength(64)]
        [Display(Name = "标段名称")]
        public string SectionName { get; set; }

        [Display(Name = "招标文件")]
        public string BidFile { get; set; }

        [StringLength(64)]
        [Display(Name = "中标单位")]
        public string BidUnit { get; set; }

        [Display(Name = "中标额")]
        public double? BidMoney { get; set; }

        [Display(Name = "投标文件")]
        public string EnterBidFile { get; set; }
    }
}
